package cn.aiaudit.product.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 商品表
 * @Author: jeecg-boot
 * @Date:   2020-07-19
 * @Version: V1.0
 */
@Data
@TableName("pr_product")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="商品表对象", description="商品表")
public class PrProduct implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**商品图片,可能为base64*/
	@Excel(name = "商品图片,可能为base64", width = 15)
    @ApiModelProperty(value = "商品图片,可能为base64")
    private java.lang.String productImg;
	/**商品名称*/
	@Excel(name = "商品名称", width = 15)
    @ApiModelProperty(value = "商品名称")
    private java.lang.String productTitle;
	/**商品介绍*/
	@Excel(name = "商品介绍", width = 15)
    @ApiModelProperty(value = "商品介绍")
    private java.lang.String productInfo;
	/**商品售价*/
	@Excel(name = "商品售价", width = 15)
    @ApiModelProperty(value = "商品售价")
    private java.math.BigDecimal productPrice;
	/**商品进货价*/
	@Excel(name = "商品进货价", width = 15)
    @ApiModelProperty(value = "商品进货价")
    private java.math.BigDecimal productCostPrice;
	/**总库存*/
	@Excel(name = "总库存", width = 15)
    @ApiModelProperty(value = "总库存")
    private java.lang.Integer productAllInventory;
	/**剩余库存*/
	@Excel(name = "剩余库存", width = 15)
    @ApiModelProperty(value = "剩余库存")
    private java.lang.Integer productRemainingInventory;
	/**商品成交量*/
	@Excel(name = "商品成交量", width = 15)
    @ApiModelProperty(value = "商品成交量")
    private java.lang.Integer productVolume;
	/**单个商品利润*/
	@Excel(name = "单个商品利润", width = 15)
    @ApiModelProperty(value = "单个商品利润")
    private java.math.BigDecimal productProfile;
	/**是否上架，字典*/
	@Excel(name = "是否上架，字典", width = 15)
    @ApiModelProperty(value = "是否上架，字典")
    private java.lang.String productOnShelf;
    @ApiModelProperty(value = "是否已经删除，0正常 1已经删除")
	private int delFlag;
}
